<!--top结束-->
<div class="mian">
	<div class="mian1">
		<div class="mian2">
			<!--left start--> 
			<?php $this->load->view('gdoing/common/left');?>
			<!--left end-->
			
			<!--right start-->
			<div class="right">
				<!--breadcrumb start-->
				<div class="righta"><?=$this->breadcrumb->generateHTML();?> </div>
				<!--breadcrumb end-->
				<!-- contents start -->
				<div id="contents">
				   <div id="ct_header">
						<table cellpadding="0" cellspacing="0" id="table_forms" border="1">
						    <tr>
						      <td >账号：<?=$userFirst['email']?></td>
						    </tr>
						    <tr>
						      <td >名字：<?=$userFirst['username']?></td>
						    </tr>
						    <tr>
						      <td >手机号码：<?=$userFirst['mobile']?></td>
						    </tr>
						    <tr>
						      <td >办公电话：<?=$userFirst['bgphone']?></td>
						    </tr>
						    <tr>
						      <td >
						      <form action="<?=blang_url('member/users/setCompany/')?>" method="post" name="memberform" >
						                公司：<?=$userFirst['companyName']?>&nbsp;&nbsp;
						      <select name="cid" >
								  	<option value="0" >个人用户</option>
								  	<?php foreach ($companyList as $rs):?>
								  	   <option value="<?=$rs['id']?>" <?=isset($optCompany[$rs['id']])?$optCompany[$rs['id']]:''; ?> ><?=$rs['gsname']?></option>
								  	<?php endforeach;?>
							   </select>
							   	<input type="hidden" name="uid" value="<?=$userFirst['id']?>" />
							    <input type="submit" value="提交" name="submits" />
							   </form>
						      </td>
						    </tr>
						    <tr>
						      <td >国家：<?=$userFirst['stateName']?></td>
						    </tr>
						    <tr>
						      <td >注册时间：<?=$userFirst['addtime']?></td>
						    </tr>
						    <tr>
						      <td >登录次数：<?=$userInfo['logincount']?></td>
						    </tr>
						    <tr>
						      <td >最近登录时间：<?=$userInfo['thetime']?></td>
						    </tr>
						    <tr>
						      <td >报价记录个数：<?=$userFirst['bjnum']?></td>
						    </tr>
					   </table>
				   </div>
				   <div id="ct_content">
					<p><span>报价详细</span>  <a href="<?=$outputUrl?>" style="padding-right:100px;float:right;">导出数据</a></p>
					<table class="c_c_tables tbwd800" cellspacing="0">
						<thead>
							<tr>
				    		  	<th>序号</th>
				    		  	<th>金额</th>
				             	<th>检测时限</th>
				              	<th>服务要求</th>
				              	<th>报价时间</th>
				              	<th>检测项目</th>
							</tr>
						</thead>
						<?php if($show_pages):?>
				      	<tfoot>
							<tr><th colspan="6" height="45"><?=$show_pages?> </th></tr>
						</tfoot>
				  	  	<?php endif;?>
						<tbody>
						<?php $numXh=1;?>
						<?php if($dataList): foreach ($dataList as $key=>$rs):?>
							<tr>
				    			<td><?=$numXh++?></td>
				    			<td><?=$rs['cost']?></td>
				    			<td><?=$rs['pmin']?></td>
				    			<td><?=$rs['service_as']?></td>
				    			<td><?=$rs['qtime']?></td>
				    			<td style="width:170px;">
				    				<?=$rs['sortName']?>&nbsp;<?=$rs['bazaarName']?>&nbsp;<?=$rs['normName']?>&nbsp;&nbsp;&nbsp;
				    				(<?=$rs['pnames']?>)
				    			</td>
							</tr>
						<?php endforeach; else:?>
							<tr><th colspan="6" height="40">当前页没有更多数据....</th></tr>
				      	<?php endif; ?> 
						</tbody>
					</table>
					</div>
				</div>
				<!-- contents end -->
			</div>
			<!--right end-->
		</div>
	</div>
</div>

